# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# https://doc.scrapy.org/en/latest/topics/items.html

import scrapy


# 二级话题
class ZhihuItem(scrapy.Item):
    # define the fields for your item here like:
    '''
    title = scrapy.Field()
    link = scrapy.Field()
    author = scrapy.Field()
    content = scrapy.Field()
    '''
    id = scrapy.Field()
    name = scrapy.Field()
    url = scrapy.Field()


# 问答类 与 专栏文章类
class PaperItem(scrapy.Item):
    title = scrapy.Field()
    url = scrapy.Field()
    # 区分类型
    p_type = scrapy.Field()





'''
# 问答类
class AqItem(ZhihuItem):
    answer_author = scrapy.Field()
    answer_content = scrapy.Field()
'''
